package com.ucode.model.hrm.convert;

import com.ucode.model.hrm.HrmJobPost;
import com.ucode.model.hrm.form.HrmJobPostForm;
import com.ucode.model.hrm.vo.HrmJobPostVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface HrmJobPostConvert {

    HrmJobPostConvert INSTANCE = Mappers.getMapper(HrmJobPostConvert.class);

    HrmJobPost convert(HrmJobPostForm form);

    HrmJobPostVO convert(HrmJobPost bean);

    Paginator<HrmJobPostVO> convertPage(Paginator<HrmJobPost> page);

}


